<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>调用function函数</title>
		<script>
			function fun1(a,b){
				return(a+b);
			}
			x=fun1(3,8);
			console.log(x);
			/*alert("警告");/*全局函数警告alert*/
			confirm("提示")  /*全局函数提示confirm*/
		</script>
	</head>
	<body>
	</body>
</html>
